package com.app.fk.mensa;

import android.app.AlertDialog;
import android.content.Context;

public class PopupBox {

	public static void showErrorMsg(Context parent, String msg)
    {
		showMessage(parent,msg,"Fehler");
    }
	
	public static void showMessage(Context parent, String msg, String title)
	{
		AlertDialog.Builder adb=new AlertDialog.Builder(parent);
    	adb.setTitle(title);
    	adb.setMessage(msg);
    	adb.setPositiveButton("Ok", null);
    	adb.show();
    	return;   
	}
}
